package com.atguigu2.two.exer1;

/**
 * @author Jack Tang
 * @description
 * @create 2023-08-14 0:36
 */
public class ArrayExer1
{
    public static void main(String[] args)
    {
        int[][] arr = new int[][]{{3,5,8},{12,9},{7,0,6,4}};
        int total = 0;
        for (int i = 0; i < arr.length; i++)
        {
            for (int j = 0; j < arr[i].length; j++)
            {
                total += arr[i][j];
            }
        }
        System.out.println(total);
    }
}